*
* @param $text string article content containing redirect info
* @return mixed false, Title of in-wiki target, or string with URL
- * @deprecated @since 1.17
+ * @deprecated since 1.17
*/
public function followRedirectText( $text ) {
// recurse through to only get the final target
}
/**
- * @deprecated @since 1.7 use Article::doEdit()
+ * @deprecated since 1.7 use Article::doEdit()
*/
function insertNewArticle( $text, $summary, $isminor, $watchthis, $suppressRC = false, $comment = false, $bot = false ) {
wfDeprecated( __METHOD__ );
}
/**
- * @deprecated @since 1.7 use Article::doEdit()
+ * @deprecated since 1.7 use Article::doEdit()
*/
function updateArticle( $text, $summary, $minor, $watchthis, $forceBot = false, $sectionanchor = '' ) {
wfDeprecated( __METHOD__ );
/**
* Allow sysops to ban logged-in users
- * @deprecated @since 1.18
+ * @deprecated since 1.18
*/
$wgSysopUserBans = true;
/**
* Allow sysops to ban IP ranges
- * @deprecated @since 1.18; set $wgBlockCIDRLimit to array( 'IPv4' => 32, 'IPv6 => 128 ) instead.
+ * @deprecated since 1.18; set $wgBlockCIDRLimit to array( 'IPv4' => 32, 'IPv6 => 128 ) instead.
*/
$wgSysopRangeBans = true;
/**
* Add the HTMLForm-specific JavaScript, if it hasn't been
* done already.
- * @deprecated @since 1.18 load modules with ResourceLoader instead
+ * @deprecated since 1.18 load modules with ResourceLoader instead
*/
static function addJS() { }
* @param $trail String
* @param $prefix String
* @return string HTML of link
- * @deprecated @since 1.17
+ * @deprecated since 1.17
*/
function makeSizeLinkObj( $size, $nt, $text = '', $query = '', $trail = '', $prefix = '' ) {
global $wgUser;
/* Deprecated methods */
/**
- * @deprecated @since 1.16 Use link()
+ * @deprecated since 1.16 Use link()
*
* This function is a shortcut to makeLinkObj(Title::newFromText($title),...). Do not call
* it if you already have a title object handy. See makeLinkObj for further documentation.
}
/**
- * @deprecated @since 1.16 Use link()
+ * @deprecated since 1.16 Use link()
*
* This function is a shortcut to makeKnownLinkObj(Title::newFromText($title),...). Do not call
* it if you already have a title object handy. See makeKnownLinkObj for further documentation.
}
/**
- * @deprecated @since 1.16 Use link()
+ * @deprecated since 1.16 Use link()
*
* This function is a shortcut to makeBrokenLinkObj(Title::newFromText($title),...). Do not call
* it if you already have a title object handy. See makeBrokenLinkObj for further documentation.
}
/**
- * @deprecated @since 1.16 Use link()
+ * @deprecated since 1.16 Use link()
*
* This function is a shortcut to makeStubLinkObj(Title::newFromText($title),...). Do not call
* it if you already have a title object handy. See makeStubLinkObj for further documentation.
}
/**
- * @deprecated @since 1.16 Use link()
+ * @deprecated since 1.16 Use link()
*
* Make a link for a title which may or may not be in the database. If you need to
* call this lots of times, pre-fill the link cache with a LinkBatch, otherwise each
}
/**
- * @deprecated @since 1.16 Use link()
+ * @deprecated since 1.16 Use link()
*
* Make a link for a title which definitely exists. This is faster than makeLinkObj because
* it doesn't have to do a database query. It's also valid for interwiki titles and special
}
/**
- * @deprecated @since 1.16 Use link()
+ * @deprecated since 1.16 Use link()
*
* Make a red link to the edit page of a given title.
*
}
/**
- * @deprecated @since 1.16 Use link()
+ * @deprecated since 1.16 Use link()
*
* Make a brown link to a short article.
*
}
/**
- * @deprecated @since 1.16 Use link()
+ * @deprecated since 1.16 Use link()
*
* Make a coloured link.
*
/**
* Creates the HTML source for images
- * @deprecated @since 1.16 use makeImageLink2
+ * @deprecated since 1.16 use makeImageLink2
*
* @param $title Title object
* @param $label String: label text
}
/**
- * @deprecated @since 1.14
+ * @deprecated since 1.14
* Returns raw bits of HTML, use titleAttrib() and accesskey()
*/
public function tooltipAndAccesskey( $name ) {
}
/**
- * @deprecated @since 1.14
+ * @deprecated since 1.14
* Returns raw bits of HTML, use titleAttrib()
*/
public function tooltip( $name, $options = null ) {
/**
* Return whether user JavaScript is allowed for this page
- * @deprecated @since 1.18 Load modules with ResourceLoader, and origin and
+ * @deprecated since 1.18 Load modules with ResourceLoader, and origin and
* trustworthiness is identified and enforced automagically.
* @return Boolean
*/
* @param $modules Array: list of jQuery modules which should be loaded
* @return Array: the list of modules which were not loaded.
* @since 1.16
- * @deprecated @since 1.17
+ * @deprecated since 1.17
*/
public function includeJQuery( $modules = array() ) {
return array();
* Is this a *valid* .css or .js subpage of a user page?
*
* @return Bool
- * @deprecated @since 1.17
+ * @deprecated since 1.17
*/
public function isValidCssJsSubpage() {
return $this->isCssJsSubpage();
* which will give them a chance to modify this key based on their own
* settings.
*
- * @deprecated @since 1.17 use the ParserOptions object to get the relevant options
+ * @deprecated since 1.17 use the ParserOptions object to get the relevant options
* @return String Page rendering hash
*/
function getPageRenderingHash() {
}
}
- # @deprecated @since 1.18
+ # @deprecated since 1.18
public static function suppressUserName( $name, $userId, $dbw = null ) {
return RevisionDeleteUser::suppressUserName( $name, $userId, $dbw );
}
- # @deprecated @since 1.18
+ # @deprecated since 1.18
public static function unsuppressUserName( $name, $userId, $dbw = null ) {
return RevisionDeleteUser::unsuppressUserName( $name, $userId, $dbw );
}